//
//  UIView+BCEmpty.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/3.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (BCEmpty)

- (void)bc_showEmptyDataText:(nullable NSString *)text
                      detail:(nullable NSString *)detail;

- (void)bc_showEmptyDataInsets:(UIEdgeInsets)insets
                          text:(nullable NSString *)text
                        detail:(nullable NSString *)detail;

- (void)bc_showEmptyDataInsets:(UIEdgeInsets)insets
                         image:(nullable UIImage *)image
                          text:(nullable NSString *)text
                        detail:(nullable NSString *)detail;
/**
 * !@biref 显示无数据的空白视图
 * @param insets 相对内边距
 * @param backgroundColor 背景色
 * @param image 显示image
 * @param text title
 * @param detail detail
 */
- (void)bc_showEmptyDataInsets:(UIEdgeInsets)insets
               backgroundColor:(nullable UIColor *)backgroundColor
                         image:(nullable UIImage  *)image
                          text:(nullable NSString *)text
                        detail:(nullable NSString *)detail;

//
- (void)bc_hidderEmptyData;

@end

NS_ASSUME_NONNULL_END
